package com.kingdee.eas.fi.cas.app;

import java.sql.Timestamp;
import java.util.Map;
import java.util.Set;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.fm.common.FMHelper;
import com.kingdee.eas.util.app.DbUtil;

public class ReceivingBillControllerBeanEx extends ReceivingBillControllerBean {

	  protected void _rec(Context ctx, Set idSet)  throws BOSException, EASBizException
	   {
	     super._rec(ctx, idSet); 
	     String ids = FMHelper.setTran2String(idSet);
	     String sql = "UPDATE T_CAS_ReceivingBill SET CFRecevingBillDate = ? WHERE FID IN " + ids; 
	     Timestamp times=new Timestamp(System.currentTimeMillis());
	     DbUtil.execute(ctx, sql, new Object[] {times});
	     
	   }
}
